package com.my.aslife.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.my.aslife.module.common.PageRequestVo;
import com.my.aslife.module.common.ResponseResult;
import com.my.aslife.module.entity.Feedback;

/**
 * @author mayuan
 * @description TODO
 */
public interface FeedBackService extends IService<Feedback> {

    /**
     *  保存用户意见反馈
     * @param feedback feedback
     * @return
     */
    ResponseResult commitFeed(Feedback feedback);

    /**
     *  获取反馈列表
     * @return
     */
    ResponseResult getFeedBackList(Long uid);

    /**
     * @param pageRequestVo pageRequestVo
     * @return
     */
    ResponseResult selectFeedBackInfoByPageAndCondition(PageRequestVo pageRequestVo);

    /**
     *  query feedBakcInfo by id
     * @param id
     * @return
     */
    ResponseResult queryFeedBackInfoByFeedBackId(Long id);

    ResponseResult commitAdminFeedBack(Feedback feedback);
}
